Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

lightning: save chunk checkpoint timely #1080

Merged
merged 12 commits into from
Jun 7, 2021
Merged

Conversation

glorv
Copy link
Collaborator

@glorv glorv commented Apr 30, 2021

What problem does this PR solve?

Try to save chunk checkpoint timely.

What is changed and how it works?

  • Return a chunk status object when close chunk but it's not flushed. Then before each chunk restorer started, check and save all the pending chunk checkpoint if available.
  • Try to save the chunk checkpoint before and after each deliver loop.

Check List

Tests

  • Unit test
  • Integration test

Code changes

  • Has interface methods change

Side effects

  • Possible performance regression
  • Increased code complexity

Related changes

  • Need to cherry-pick to the release branch
  • Need to update the documentation

Release Note

  • check and save chunk checkpoint timely.

@glorv
Copy link
Collaborator Author

glorv commented May 6, 2021

/run-all-tests

@ti-chi-bot ti-chi-bot added size/XL and removed size/L labels May 6, 2021
@glorv
Copy link
Collaborator Author

glorv commented May 6, 2021

/run-all-tests

@glorv
Copy link
Collaborator Author

glorv commented May 6, 2021

/run-all-tests

1 similar comment
@glorv
Copy link
Collaborator Author

glorv commented May 6, 2021

/run-all-tests

@glorv
Copy link
Collaborator Author

glorv commented May 6, 2021

/run-all-tests

@glorv
Copy link
Collaborator Author

glorv commented May 7, 2021

/run-all-tests

@glorv
Copy link
Collaborator Author

glorv commented May 31, 2021

/run-all-tests

1 similar comment
@glorv
Copy link
Collaborator Author

glorv commented Jun 1, 2021

/run-all-tests

@glorv glorv added this to the v5.1.0 milestone Jun 2, 2021
@glorv
Copy link
Collaborator Author

glorv commented Jun 2, 2021

/run-all-tests

@glorv
Copy link
Collaborator Author

glorv commented Jun 4, 2021

/run-all-tests

@ti-chi-bot
Copy link
Member

@gozssky: Thanks for your review. The bot only counts approvals from reviewers and higher roles in list, but you're still welcome to leave your comments.

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@ti-chi-bot
Copy link
Member

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • Little-Wallace
  • kennytm

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@glorv
Copy link
Collaborator Author

glorv commented Jun 7, 2021

/merge

@ti-chi-bot
Copy link
Member

This pull request has been accepted and is ready to merge.

Commit hash: e4924eb

@ti-chi-bot ti-chi-bot merged commit 37433a1 into pingcap:master Jun 7, 2021
@glorv glorv deleted the chunk-cp branch June 7, 2021 14:34
ti-chi-bot pushed a commit to ti-chi-bot/br that referenced this pull request Jun 7, 2021
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created: #1181.

ti-chi-bot pushed a commit to ti-chi-bot/br that referenced this pull request Jun 7, 2021
@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created: #1182.

@ti-chi-bot
Copy link
Member

In response to a cherrypick label: new pull request created: #1183.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants